<html>
<head><meta charset="utf-8"><title>common hang in rust-analyzer · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/common.20hang.20in.20rust-analyzer.html">common hang in rust-analyzer</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="239050006"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/common%20hang%20in%20rust-analyzer/near/239050006" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/common.20hang.20in.20rust-analyzer.html#239050006">(May 17 2021 at 08:18)</a>:</h4>
<p>Hey, I've noticed that we have a couple of issues in rust-analyzer pointing to <a href="https://github.com/rust-lang/chalk/issues/688">https://github.com/rust-lang/chalk/issues/688</a> (the most recent one being <a href="https://github.com/rust-analyzer/rust-analyzer/issues/8792">https://github.com/rust-analyzer/rust-analyzer/issues/8792</a>).</p>
<p>So I want to signal this as something for prioritization :)</p>



<a name="247907748"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/common%20hang%20in%20rust-analyzer/near/247907748" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/common.20hang.20in.20rust-analyzer.html#247907748">(Aug 02 2021 at 10:42)</a>:</h4>
<p>Friendly re-ping :)</p>
<p>Got another issue about chalk panicking <a href="https://github.com/rust-analyzer/rust-analyzer/issues/9754">today</a>, so I wondering if there's some specific things we can do to improve experience for the user of rust-analyzer. </p>
<p>For the IDE, the failure modes we see from chalk sometimes (hangs/panics) are rather critical for user-experience. Chalk underpins pretty much every interesting feature in rust-analyzer, so, when it breaks, almost nothing works, and improving that would lead to a significant improvement in the experience for end devs. Note that we are not as sensitive to wrong answers -- wrong answer is a local, isolated failure.</p>



<a name="247907783"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/common%20hang%20in%20rust-analyzer/near/247907783" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/common.20hang.20in.20rust-analyzer.html#247907783">(Aug 02 2021 at 10:42)</a>:</h4>
<p>I wonder -- does it makes sense to build something like <a href="https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith">https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith</a> for chalk-ir?</p>



<a name="247907888"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/common%20hang%20in%20rust-analyzer/near/247907888" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/common.20hang.20in.20rust-analyzer.html#247907888">(Aug 02 2021 at 10:44)</a>:</h4>
<p>To be clear: the issues are not critical, don't feel bad if they are not on the immediate roadmap: mostly, I want to backpressuer the feedback channel :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>